package com.csu.device.service.impl;


import com.csu.device.dao.BehaviorDao;
import com.csu.device.entity.Behavior;
import com.csu.device.service.BehariorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class BehariorServiceImpl implements BehariorService {

    @Autowired
    private BehaviorDao behaviorDao;

    @Override
    public  List<Map<String,Object>> getOlderErrorByOlderId(List<String> ids) {
        return behaviorDao.getOlderErrorByOlderId(ids);
    }

    @Override
    public List<Map<String, Object>> findErrorByFamilyId(List<String> familyIds) {
        return behaviorDao.findErrorByFamilyId(familyIds);
    }
}
